
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
@contentful/f36-popover
Advanced tools
Popover is used to display some content on top of another, and should be paired with a clickable trigger element.
It is a base for other more specific component, like Menu
, Autocomplete
and Multiselect
. Please, consider using these specific componenets to cover your needs.
Menu
, Autocomplete
and Multiselect
components are not covering your use cases, you should use Popover
.Menu
, Autocomplete
, and Multiselect
for more specific use-cases and they can address your needs.onClose
callback prop. Otherwise closeOnEsc
and closeOnBlur
will not work properly.import { Popover } from '@contentful/f36-components';
// or
import { Popover } from '@contentful/f36-popover';
Popover.Trigger
.
NOTE: 🚨 Ensure that the component that you pass accepts ref
. Consider using forwardRef
for functional components.Popover.Content
If the popover contains interactive elements that user can navigate through with Tab
,
consider using react-focus-lock to trap the focus within Popover
button
for Popover.Trigger
Tab
, consider using react-focus-lock to trap the focus within PopoverPopover.Content
. If you set autoFocus
to false
, it will not move the focus.Popover.Content
, click on Esc
key will close the popover. If you set closeOnEsc
to false
, it will not close.Popover.Content
, click outside popover or blurring out will close the it. If you set closeOnBlur
to false
, it will not close.Popover.Content
and Popover.Trigger
are provided.FAQs
Forma 36: Popover component
The npm package @contentful/f36-popover receives a total of 20,568 weekly downloads. As such, @contentful/f36-popover popularity was classified as popular.
We found that @contentful/f36-popover demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.